﻿using T4UtilityBelt.Writers;

namespace T4UtilityBelt.UxDesigns.Controls.Renderers.Android.Helpers
{

    public static class HeightWriter
    {

        public static void Write(double? orientation, HorizontalAlignment? horizontalAlignment, CodeWriter writer)
        {
            // todo: Finish this for all the options

            if (horizontalAlignment == HorizontalAlignment.Stretch)
            {
                writer.WriteAttribute("android:layout_height", "wrap_content");
            }
        }
    }
}
